#!/bin/bash
echo
echo -e '\033[01;32mActualizando libreria de: \033[01;37mPhpMoko\033[00m'
echo
echo "hg pull"
hg pull
echo "hg update -C"
hg update -C
echo "chmod +x update-hg.sh"
chmod +x update-hg.sh
echo "chmod 700 .hg"
chmod 700 .hg
echo
